package com.googlecode.fluentregex;

import java.util.ArrayList;
import java.util.List;

public class RegularExpressionBuilderBase {
	protected List<String> tokens = new ArrayList<String>();

	public String ex() {
		if (tokens.isEmpty()) {
			return "";
		}
		StringBuilder myString = new StringBuilder();
		for (String token : tokens) {
			myString.append(token);
		}
		return myString.toString();
	}
}
